HAL DCACHE macro migration

This section provides information about the HAL DCACHE macro migration.

Note

Related concept for all macros: Removal of hardware-related macros in HAL2

HAL DCACHE clear flag macro

HAL1

HAL2

#define __HAL_DCACHE_CLEAR_FLAG(__HANDLE__, __FLAG__)
__STATIC_INLINE void LL_DCACHE_ClearFlag(DCACHE_TypeDef *dcachex, uint32_t mask)

HAL DCACHE disable IT macro

HAL1

HAL2

#define __HAL_DCACHE_DISABLE_IT(__HANDLE__, __INTERRUPT__)
__STATIC_INLINE void LL_DCACHE_DisableIT(DCACHE_TypeDef *dcachex, uint32_t mask)

HAL DCACHE enable IT macro

HAL1

HAL2

#define __HAL_DCACHE_ENABLE_IT(__HANDLE__, __INTERRUPT__)
__STATIC_INLINE void LL_DCACHE_EnableIT(DCACHE_TypeDef *dcachex, uint32_t mask)

HAL DCACHE get flag macro

HAL1

HAL2

#define __HAL_DCACHE_GET_FLAG(__HANDLE__, __FLAG__)
__STATIC_INLINE uint32_t LL_DCACHE_IsActiveFlag(const DCACHE_TypeDef *dcachex, uint32_t mask)

HAL DCACHE get IT source macro

HAL1

HAL2

#define __HAL_DCACHE_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
__STATIC_INLINE uint32_t LL_DCACHE_IsEnabledIT(const DCACHE_TypeDef *dcachex, uint32_t mask)